package org.rms.cayenne.access;

import org.apache.cayenne.access.DataContext;

public class CayenneRepository {
	
	private static CayenneSession session;

	public static CayenneSession getCayenneSession() {
        if (session == null) {
            session = new CayenneSession(DataContext.createDataContext());
        }
        return session;
    }

}
